package com.lmt_14;

import java.io.PrintStream;

public class SelfPrintStream {
    public static void main(String[] args) {
        try (
                PrintStream ps = new
                        PrintStream("src/com/lmt_14/1.txt");
                ){
            System.setOut(ps);
            System.out.println("jjjjjjjjjjjjjjjjj");
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
